package com.cm.service;

import com.cm.pojo.Emp;

import com.cm.pojo.EmpQueryParam;
import com.cm.pojo.PageResult;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * ClassName:  EmpService
 * Package: com.cm.service
 * Description:
 *
 * @Author:
 * @Create: 2025/8/10  4:12
 * @Version 1.0
 */
@Service
public interface EmpService {


    //PageResult<Emp> list(Integer page, Integer pageSize, String name, Integer gender, LocalDate begin, LocalDate end);

    PageResult<Emp> list(EmpQueryParam param);

    void save(Emp empExpr);

    void delete(List<Integer> ids);



    Emp getInfor(Integer id);
}
